home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C16 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.8 KB  |  80 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C16
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     IStack.exe \
  25.     Stemp.exe \
  26.     Stemp2.exe \
  27.     Stackt.exe \
  28.     Mblock.exe \
  29.     TStashTest.exe \
  30.     TStackTest.exe \
  31.     Recycle.exe 
  32.  
  33. test: all 
  34.     IStack.exe  
  35.     Stemp.exe  
  36.     Stemp2.exe  
  37.     Stackt.exe  
  38.     Mblock.exe  
  39.     TStashTest.exe  
  40.     TStackTest.exe  
  41.     Recycle.exe  
  42.  
  43. bugs: 
  44.     @echo No compiler bugs in this directory!
  45.  
  46. IStack.exe: IStack.obj 
  47.     $(CPP) $(OFLAG)IStack.exe IStack.obj 
  48.  
  49. Stemp.exe: Stemp.obj 
  50.     $(CPP) $(OFLAG)Stemp.exe Stemp.obj 
  51.  
  52. Stemp2.exe: Stemp2.obj 
  53.     $(CPP) $(OFLAG)Stemp2.exe Stemp2.obj 
  54.  
  55. Stackt.exe: Stackt.obj 
  56.     $(CPP) $(OFLAG)Stackt.exe Stackt.obj 
  57.  
  58. Mblock.exe: Mblock.obj 
  59.     $(CPP) $(OFLAG)Mblock.exe Mblock.obj 
  60.  
  61. TStashTest.exe: TStashTest.obj 
  62.     $(CPP) $(OFLAG)TStashTest.exe TStashTest.obj 
  63.  
  64. TStackTest.exe: TStackTest.obj 
  65.     $(CPP) $(OFLAG)TStackTest.exe TStackTest.obj 
  66.  
  67. Recycle.exe: Recycle.obj 
  68.     $(CPP) $(OFLAG)Recycle.exe Recycle.obj 
  69.  
  70.  
  71. IStack.obj: IStack.cpp ..\require.h 
  72. Stemp.obj: Stemp.cpp ..\require.h 
  73. Stemp2.obj: Stemp2.cpp ..\require.h 
  74. Stackt.obj: Stackt.cpp Stackt.h ..\require.h 
  75. Mblock.obj: Mblock.cpp ..\require.h 
  76. TStashTest.obj: TStashTest.cpp TStash.h ..\require.h 
  77. TStackTest.obj: TStackTest.cpp TStack.h ..\require.h 
  78. Recycle.obj: Recycle.cpp TStack.h 
  79.  
  80.